package com.zs.zcerp.approval.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.Date;

/**
 * (驳回内容)实体类
 *
 * @author makejava
 * @since 2021-06-16 15:01:36
 */
@Data
@TableName("QH_REJECT_RECORD")
public class QhRejectRecordEntity implements Serializable {
    private static final long serialVersionUID = -97126709565665806L;

    /**
     *驳回id
     */
    @TableField("REJECT_ID")
    private String rejectId ;
    /**
     *驳回单号
     */
    @Size(max = 20, message = "{range}")
    @TableField("ORDER_NO")
    private String orderNo ;
    /**
     *驳回内容
     */
    @TableField("CONTENT")
    private String content ;
    /**
     *驳回时间
     */
    @TableField("CREATE_DATE")
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createDate ;
    /**
     *驳回类型：销毁DESTORY 样品yp
     */
    @TableField("CLASSIFY")
    private String classify ;
    /**
     *签核人工号
     */
    @TableField("TO_USER_NO")
    private String toUserNo ;
     /**
     *签核人名字
     */
    @TableField("TO_USER_CNAME")
    private String toUserCname ;

    /**
     *签核人角色(职位)
     */
    @TableField("CHECK_ROLE")
    private String checkRole ;


    /**
     *送签核人工号
     */
    @TableField("SEND_USER_NO")
    private String sendUserNo ;
    /**
     *送签核人名字
     */
    @TableField("SEND_USER_CNAME")
    private String sendUserCname ;


    @TableField(exist = false)
    private String createTimeFrom;

    @TableField(exist = false)
    private String createTimeTo;
    /**
     *  单据分类编号
     */
    @TableField(exist = false)
    private String billstdNo;






}